package com.qingcheng.service.seckill;
import com.qingcheng.entity.PageResult;
import com.qingcheng.pojo.seckill.SeckillGoods;

import java.util.*;

/**
 * seckillGoods业务逻辑层
 */
public interface SeckillGoodsService {


    public List<SeckillGoods> findAll();


    public PageResult<SeckillGoods> findPage(int page, int size);


    public List<SeckillGoods> findList(Map<String,Object> searchMap);


    public PageResult<SeckillGoods> findPage(Map<String,Object> searchMap,int page, int size);


    public SeckillGoods findById(Long id);

    public void add(SeckillGoods seckillGoods);


    public void update(SeckillGoods seckillGoods);


    public void delete(Long id);

}
